package com.xiaoq.sites.vo;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * Created by chenjh on 2017/12/18.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visibility.NONE)
public class SearchResultVo implements Serializable {
    private static final long serialVersionUID = -7747453719294422479L;

    @ApiModelProperty(name = "id", value = "（景区或者活动或者头条或者目的地）id", position=10)
    private String id = "";
    @ApiModelProperty(name = "htmlTitle", value = "html格式的 标题", position=20)
    private String htmlTitle = "";
    @ApiModelProperty(name = "content", value = "内容", position=30)
    private String content = "";
    @ApiModelProperty(name = "type",allowableValues = "10,20,30,40,50,60,70", value = "搜索结果类型(10:目的地,20:景区,30:门票,40:活动,50:头条, 60：景点, 70：必吃)", position=40)
    private Integer type = 0;
    @ApiModelProperty(name = "shopId", value = "景区(店)Id", position=50)
    private String shopId = "";
    @ApiModelProperty(name = "sourceTitle", value = "文本格式的标题", position=60)
    private String sourceTitle = "";
    @ApiModelProperty(name = "zoneCity", value = "城市编码", position=70)
    private String zoneCity = "";

	@ApiModelProperty(name = "longitude", value = "经度", position=80)
	private Double longitude = 0.0D;

	@ApiModelProperty(name = "latitude", value = "维度", position=90)
	private Double latitude = 0.0D;

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getHtmlTitle() {
		return htmlTitle;
	}
	public void setHtmlTitle(String htmlTitle) {
		this.htmlTitle = htmlTitle;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public String getSourceTitle() {
		return sourceTitle;
	}
	public void setSourceTitle(String sourceTitle) {
		this.sourceTitle = sourceTitle;
	}
	public String getZoneCity() {
		return zoneCity;
	}
	public void setZoneCity(String zoneCity) {
		this.zoneCity = zoneCity;
	}


	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}
}
